﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace GPMS.Model
{
    [MetadataType(typeof(GraduationProjectMetaData))]
    public partial class GraduationProject
    {
        public class GraduationProjectMetaData
        {
            [ScaffoldColumn(false)]
            public object GPID { get; set; }

            [DisplayName("课题名称")]
            [Required(ErrorMessage = "必须输入课题名称")]
            public object GPName { get; set; }

            [DisplayName("简介")]
            [Required(ErrorMessage = "必须输入")]
            public object Description { get; set; }

            [DisplayName("要求")]
            [Required(ErrorMessage = "必须输入")]
            public object Claim { get; set; }

            [DisplayName("类别")]
            [Required(ErrorMessage = "必须输入课题类别")]
            public object Type { get; set; }

            [DisplayName("发布时间")]
            public object CreateDate { get; set; }

            [DisplayName("最大人数")]
            [Required(ErrorMessage = "必须输入最大人数")]
            public object Maxman { get; set; }

            [DisplayName("审核")]
            public object Audit { get; set; }
        }
    }
}